home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 7
/
BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso
/
Files
/
Hyper
/
C-Cl
/
CD-ROM Tutorial.cpt
/
CD-ROM Tutorial
/
card_56486.txt
< prev
next >
Wrap
Text File
|
1990-04-04
|
2KB
|
123 lines
-- card: 56486 from stack: in
-- bmap block id: 56796
-- flags: 0000
-- background id: 29299
-- name:
----- HyperTalk script -----
on openCard
delete line 1 of card field "ques"
hide card field "retell"
show card field "tell"
set lockScreen to false
set userLevel to 2
click at 65,91
end openCard
-- part 1 (field)
-- low flags: 00
-- high flags: 2004
-- rect: left=83 top=184 right=288 bottom=449
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 21
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name: tell
-- part 2 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=63 top=81 right=98 bottom=221
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 21
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name: ques
-- part 3 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=209 top=130 right=151 bottom=290
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: OK
----- HyperTalk script -----
on mouseUp
if line 1 of card field ques is "bradley" then
set userLevel to 1
go to next card
else
delete line 1 of card field ques
hide card field "tell"
show card field "retell"
end if
click at 65,91
end mouseUp
-- part 4 (field)
-- low flags: 80
-- high flags: 2004
-- rect: left=82 top=184 right=267 bottom=439
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 21
-- text size: 14
-- style flags: 256
-- line height: 18
-- part name: retell
-- part 5 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=300 top=130 right=151 bottom=380
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Cancel
----- HyperTalk script -----
on mouseUp
delete line 1 of card field "ques"
click at 65,91
end mouseUp
-- part contents for card part 1
----- text -----
The program displays the BROWSE dialog box with a listing of main index headings in alphabetical order.
Type BRADLEY and click OK.
-- part contents for card part 4
----- text -----
Type BRADLEY and Click OK
-- part contents for card part 2
----- text -----
bradley